!function(e){e.fn.liveFilter=function(t,i,r){var n={filterChildSelector:null,filter:function(t,i){return e(t).text().toUpperCase().indexOf(i.toUpperCase())>=0},before:function(){},after:function(){}},r=e.extend(n,r),l=e(this).find(i);r.filterChildSelector&&(l=l.find(r.filterChildSelector));var f=r.filter;e(t).keyup(function(){var t=e(this).val(),n=l.filter(function(){return f(this,t)}),o=l.not(n);r.filterChildSelector&&(n=n.parents(i),o=o.parents(i).hide()),r.before.call(this,n,o),n.show(),o.hide(),""===t&&(n.show(),o.show()),r.after.call(this,n,o)})}}(jQuery);